//管理员路由


var express = require('express');
var router = express.Router();
const adminModel = require("../src/models/adminModels");
/* GET users listing. */
  router.get('/getadmin', function(req, res, next) {
    let a=adminModel.find().exec()
    a.then(
      (data)=>{
       res.send(data);
     })
  });
module.exports = router;